package com.gry.mystring;

public class StringDemo5 {
    public static void main(String[] args) {
        String s1 = "18738416328";
        String start = s1.substring(0, 3);
        String end = s1.substring(7);
        String result = start + "****" + end;
        System.out.println(result);
    }
}
